<!DOCTYPE html>
<html>
<head>
    <title>${title} - 天书榜 - 中立的小说排名、评分网站</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="keywords" content="好看的小说,小说排名,小说评分,小说评测">
    <meta name="description" content="专注于好看的小说信息采集和评分的网站">
    <meta name="author" content="${siteName}">
    <base href="${serverUri}"/>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="icon" type="image/png" sizes="32x32" href="icon/favicon-32x32.png">
    <link rel="icon" type="image/png" sizes="16x16" href="icon/favicon-16x16.png">
    <link rel="stylesheet" href="admin/plugins/fontawesome-free/css/all.min.css">
    <link rel="stylesheet" href="css/ionicons/2.0.1/ionicons.min.css">
    <link rel="stylesheet" href="admin/plugins/datatables-bs4/css/dataTables.bootstrap4.css">
    <link rel="stylesheet" href="admin/css/adminlte.min.css">
    <link rel="stylesheet" href="css/mainpage.css">
    <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet">
</head>
<body class="hold-transition layout-top-nav" style="background: #b3b3b3;">
<div class="wrapper">
    <#--  nav bar  -->
    <#include "./header.ftl">

    <div class="content-wrapper">
        <div class="row">
            <#-- left colum      -->
            <div class="col-lg-2" style="background: #b3b3b3;">

            </div>
            <#-- middle colum      -->
            <div class="col-lg-8 col-sm-12" style="min-height: 800px;">
                <div class="content-header">
                    <div class="container-fluid">
                        <div class="row mb-2">
                            <div class="col-sm-6">
                                <h1><i class="fas fa-user text-purple mr-3"></i>${title}</h1>
                            </div>
                        </div>
                    </div>
                </div>
                <section class="content">
                    <div class="row">
                        <div class="col-12">
                            <div class="card">
                                <div class="card-body">
                                    ${introduction}
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-12">
                            <div class="card">
                                <div class="card-header">
                                    <i class="far fa-hdd mr-2"></i>作品
                                </div>
                                <#if (artileList?size > 0)>
                                    <div class="card-body">
                                        <#list artileList as row>
                                            <a href="fiction/${row[0]}" class="mr-3">${row[1]}(<span class="pffontext">${row[2]}</span>)</a>
                                        </#list>
                                    </div>
                                <#else>
                                    <div class="card-body" style="margin:0 auto;">
                                        <button class="btn btn-sm btn-flat">暂无</button>
                                        <button class="btn btn-sm btn-warning">上报作品</button>
                                    </div>
                                </#if>
                            </div>
                        </div>
                    </div>

<#--                    <div class="row">-->
<#--                        <div class="col-12">-->
<#--                            <div class="card">-->
<#--                                <div class="card-footer">-->
<#--                                    <div class="form-group">-->
<#--                                        <label for="inputDescription">点评</label>-->
<#--                                        <textarea id="inputDescription" class="form-control" rows="4"></textarea>-->
<#--                                    </div>-->
<#--                                    <div>-->
<#--                                        <button class="btn btn-sm btn-outline-primary">发布</button>-->
<#--                                    </div>-->
<#--                                </div>-->
<#--                            </div>-->
<#--                        </div>-->
<#--                    </div>-->
                </section>
            </div>
            <#-- right colum      -->
            <div class="col-lg-2" style="background: #b3b3b3;">

            </div>
        </div>
    </div>
    <#include "./footer.ftl">
</div>

<script src="admin/plugins/jquery/jquery.min.js"></script>
<script src="admin/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="admin/plugins/datatables/jquery.dataTables.js"></script>
<script src="admin/plugins/datatables-bs4/js/dataTables.bootstrap4.js"></script>
<script src="admin/js/adminlte.min.js"></script>
<script src="utility.js"></script>
</body>
</html>
